// src/components/navbar/l-navbar-home/index.js
const App = getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {},

  /**
   * 组件的初始数据
   */
  data: {
    statusBarHeight: App.globalData.statusBarHeight
  },
  attached: function() {},

  /**
   * 组件的方法列表
   */
  methods: {
    tapToSearch() {
      this.triggerEvent('tapToSearch')
    },
    tapShowBrands() {
      this.triggerEvent('showBrands')
    },
    tapToScan() {
      this.triggerEvent('scan')
    }
  }
})
